package com.nervenets.web.controller.user;

import com.nervenets.web.controller.UserPagingParams;
import com.nervenets.web.enumeration.FlowStatus;
import com.nervenets.web.enumeration.OperateType;
import com.nervenets.web.enumeration.WealthType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@EqualsAndHashCode(callSuper = true)
@Data
public class UserWealthPagingParams extends UserPagingParams {
    @ApiModelProperty(value = "资产类型", required = true)
    @NotNull(message = "资产类型不能为空")
    private WealthType wealthType;
    @ApiModelProperty(value = "资产变动方式")
    private OperateType operateType;
    @ApiModelProperty(value = "资产状态")
    private FlowStatus flowStatus;
}
